<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'banner-videos-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'title'); ?>
		<?php echo $form->textField($model,'title',array('size'=>60,'maxlength'=>200)); ?>
		<?php echo $form->error($model,'title'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'embed_code'); ?>
		<?php echo $form->textArea($model,'embed_code',array('size'=>60,'maxlength'=>500,'rows'=>8,'cols'=>80)); ?>
		<?php echo $form->error($model,'embed_code'); ?>
	</div>


	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

<div class="link">
<?php echo CHtml::link('Back to List',ApplicationConfig::getURL("admin", "bannerVideos", "index"),array()); ?>
</div>
</div><!-- form -->